#ifndef AVALON_ENDOFFILEEXCEPTION_HPP
#define AVALON_ENDOFFILEEXCEPTION_HPP
#include "Avalon/IO/IOException.hpp"

namespace Avalon {
namespace IO {

  /*! \class EndOfFileException
   *  \brief Indicates a Reader has reached the end of file or stream.
   */
  class EndOfFileException : public IOException {
    public:

      //! Constructs an EndOfFileException.
      EndOfFileException();

      //! Constructs an EndOfFileException.
      /*!
        \param message A message describing the error.
      */
      EndOfFileException(const std::string& message);

      virtual ~EndOfFileException() throw();
  };
}
}

#endif // AVALON_ENDOFFILEEXCEPTION_HPP
